#include "newversioninfo.h"
#include "remotedef.h"
#include <QVariant>

NewVersionInfo::NewVersionInfo()
{
    version = "";
}

void NewVersionInfo::unserialize(QString json)
{
    BaseResp::unserialize(json);
    if (m_json.isValid())
    {
        version = m_json.value(KEY_NEW_VERSION).toString();
    }
}
QString NewVersionInfo::getVersion() const
{
    return version;
}

void NewVersionInfo::setVersion(const QString &value)
{
    version = value;
}

